package com.runfast.paotui.utils;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "hellowo")
public class HelloReceiver {
    @RabbitHandler
    public void process(String hellowo) {
        System.out.println("Receiver  : " + hellowo);
    }


}
